export class PageEntity {

  /**
   * 第几页
   */
  pageIndex = 1;

  /**
   * 每页条数
   */
  pageSize = 10;

  /**
   * 总记录数
   */
  totalRecords = 0;

  filters: any = {};

  sorts: Array<SortMeta> = [];
}

class SortMeta {
  field: string;
  direction: 'ASC' | 'DESC';
}
